//
//  YQMYBaseViewController.h
//  MuYing
//
//  Created by tbb on 2019/7/18.
//  Copyright © 2019 TBB. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface YQMYBaseViewController : UIViewController
-(void)setupView;

@property (nonatomic, copy) NSString * leftItemTitle;
@property (nonatomic, strong) UIImage * leftItemImage;
@property (nonatomic, strong, readonly) UIButton *leftItem;
@property (nonatomic, strong) NSMutableArray * dataArr;

@property (nonatomic, assign) NSInteger page;

@property (nonatomic, copy) NSString * rightItemTitle;
@property (nonatomic, strong) UIImage * rightItemImage;
@property (nonatomic, strong, readonly) UIButton *rightItem;
- (void)backNavItemTapped;
-(void)setupRefresh:(UIScrollView *)scrollView;
-(void)leftItemAction:(UIButton *)sneder;
-(void)rightItemAction:(UIButton *)sender;

-(void)onStartRefresh;
-(void)onStartLoadMore;

//是否可右划返回 默认可以
//@property (nonatomic, assign) BOOL backInteractive;
@property (nonatomic, assign) BOOL isNavShadow;
///移除ios右滑返回
- (void)removeUIPanGestureRecognizer;
@end

NS_ASSUME_NONNULL_END
